import request from "@/utils/request";

export default {

  //根据dictCode查询下级节点
  findByDictCode(dictCode){
    return request({
      url: `/admin/cmn/dict/findByDictCode/${dictCode}`,
      method:'GET',
    })
  },
  //根据上级id获取子节点数据列表
  findChildData(id){
    return request({
      url: `/admin/cmn/dict/findChildData/${id}`,
      method:'GET'
    })
  },

}
